package com.qijian.maindata.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.maindata.domain.Store;
import com.qijian.maindata.mapper.StoreMapper;
import com.qijian.maindata.service.IStoreService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * 仓库Service业务层处理
 *
 * @author ruoyi
 * @date 2021-08-18
 */
@Service
@RequiredArgsConstructor
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store>
        implements IStoreService {

    private final StoreMapper storeMapper;

    @Override
    public long countAll() {
        return storeMapper.countAll();
    }
}
